<?php
//发送信息接口
interface SendMsg
{
    public function send();
}
class Aliyun implements SendMsg{

    public function send()
    {
        echo " 发送阿里云短信 ";
    }
}
class Baidu implements SendMsg
{

    public function send()
    {
        echo " 发送百度短信 ";
    }
}